@use "../../assets/styles/colorVar.scss" as *;
@use "sass:list" as list;
@use "sass:color" as color;
@use "./font/iconfont.css";
.home {
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background:
        linear-gradient(to top, list.nth($color-level, 1) 40%, transparent),
        linear-gradient(to top, transparent 70%, list.nth($color-level, 1)),
        linear-gradient(50deg, list.nth($color-level, 5) 50%, list.nth($color-level, 1));
    .content{
        display: flex;
        align-items: center;
        justify-content: center;
        color: $color-primary-font;
        .container{
            display: flex;
            flex-direction: column;
            align-items: center;
            .title{
                margin-bottom: 40px;
                display: flex;
                align-items: center;
                #text{
                    font-size: 60px;
                }
                #firstLetter{
                    font-size: 65px;
                    font-weight: bolder;
                    text-shadow: 2px 2px 4px list.nth($color-level, 5);
                }
            }
            .text{
                font-size: 16px;
            }
            .btn{
                margin-top: 100px;
                display: flex;
                justify-content: center;
                gap: 100rem;
                @mixin button-styles {
                    width: 150px;
                    height: 50px;
                    border-radius: 10px;
                    border: none;
                    font-size: 18px;
                    cursor: pointer;
                    transition: all 0.1s ease-in-out;
                }
                .explore{
                    @include button-styles;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 10px;
                    background-color: rgba(list.nth($color-level, 3), 0.8);
                    color: list.nth($color-level, 5);
                    box-shadow: 0 0 5px 0px rgba(list.nth($color-level, 5), 0.6);
                    &:hover {
                        background-color: color.adjust(list.nth($color-level, 3), $alpha: -0.1);
                    }
                    .arrow {
                        font-size: 18px;
                        transition: transform 0.4s ease-in-out;
                    }
                    &:hover .arrow {
                        transform: translateX(10px);
                    }
                }
                .more{
                    @include button-styles;
                    border: 1px solid list.nth($color-level, 3);
                    color:$color-primary-font;
                    background-color: list.nth($color-level, 2);
                    &:hover {
                        background-color: color.adjust(list.nth($color-level, 2), $alpha: -0.1);
                        box-shadow: 0 0 10px 0px rgba(list.nth($color-level, 5), 0.6);
                    }
                }
            }            
        }

    }
    .footer {
        width: 100%;
        height: 200px;
        .container{
            width: 100%;
            height: 80%;
            padding: 0 200rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            .left {
                .item{
                    display: flex;
                    flex-direction: column;
                    gap: 10rem;
                    a{
                        width: fit-content;
                        color: $color-primary-font;
                        text-align: center;
                        text-decoration: none;
                        cursor: not-allowed;
                        &:hover{
                            color: list.nth($color-level, 5);
                            text-decoration: underline;
                            text-underline-offset: 5px;
                        }
                    }
                }
            }
            .right{
                .item{
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                    a{
                        width: fit-content;
                        display: flex;
                        align-items: center;
                        gap: 5px;
                        color: $color-primary-font;
                        &:hover{
                            color: list.nth($color-level, 5);
                        }
                        img{
                            width: 20px;
                            height: 20px;
                            border-radius: 50%;
                        }                        
                    }
                }
            }
        }
        .bottom{
            width: 100%;
            height: 20%;
            box-shadow: inset 0 1px 0 0 list.nth($color-level, 3);
            display: flex;
            justify-content: center;
            align-items: center;
            color: $color-primary-font;
        }
    }
}